package jike.demo08;

import java.util.logging.Level;

/**
 * @param
 * @author oyz
 * @version 1.0.4
 * @description: 关于抽象类的应用
 * @date 2022/10/27 21:48
 */
public abstract class Logger {

    private String name;

    private boolean enabled;

    private Level level;


    public Logger(String name, boolean enabled, Level level) {
        this.name = name;
        this.enabled = enabled;
        this.level = level;
    }

    protected abstract void doLog(Level level, String name);
}
